package com.genntii.examManager.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.genntii.examManager.common.result.PageResult;
import com.genntii.examManager.domain.entity.PracticeRecord;
import com.genntii.examManager.domain.question.dto.ExamResult;
import com.genntii.examManager.domain.vo.PracticeRecordVO;

public interface PracticeRecordService extends IService<PracticeRecord> {

    void practiceCommit(ExamResult examResult, Long userId);

    PageResult<PracticeRecordVO> getPracticeHistory(Integer pageNum,
                                                    Integer pageSize,
                                                    Long userId);

    ExamResult getPracticeResult(Long practiceRecordId);

}
